-- GENERATED SPELL FOR [Palemane Tanner] --


function spell0_2949(pUnit, Event) --@Wrath,n/a--
pUnit:FullCastSpellOnTarget(9739,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2949', 2000, 1)
end

function Sorts_2949(pUnit, Event)
local choix_sorts_2949 = math.random(0, 0)
if choix_sorts_2949 == 0 then
pUnit:RegisterEvent('spell0_2949', 1, 1)
end
end

function mob2949_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2949', math.random(1500, 3000), 1)
end

function mob2949_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2949_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2949_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2949, 1, 'mob2949_Action')
RegisterUnitEvent(2949, 2, 'mob2949_Leave')
RegisterUnitEvent(2949, 3, 'mob2949_Kill')
RegisterUnitEvent(2949, 4, 'mob2949_Die')
